package com.stud.common.constant;

/**
 * @author Stud
 * @title XXXXX
 * @desription XXXXX
 * @data 2023-03-07 10:03
 */
public interface WorkflowConstants {
    /**
     * 流程类型(0:串行;1:并行)
     */
    String DEFINITION_TYPE_0 = "0";
    String DEFINITION_TYPE_1 = "1";

    /**
     * 任务状态(0:未审批;1:通过;2:驳回)
     */
    String TASK_STATUS_0 = "0";
    String TASK_STATUS_1 = "1";
    String TASK_STATUS_2 = "2";

    /**
     * 任务类型(0:启动任务-通常不需要审核;1:普通任务;2:主任务)
     */
    String TASK_TYPE_0 = "0";
    String TASK_TYPE_1 = "1";
    String TASK_TYPE_2 = "2";

    /**
     * 表单状态
     */
    String TASK_FORM_STATUS_0 = "0";
    String TASK_FORM_STATUS_1 = "1";

    /**
     * 是否需要上传附件(0:不显示;1:可选;2:必须)
     */
    String TASK_FILE_FLAG_0 = "0";
    String TASK_FILE_FLAG_1 = "1";
    String TASK_FILE_FLAG_2 = "2";

    /**
     * 是不是当前任务(0:是;1:否)
     */
    String TASK_FLAG_0 = "0";
    String TASK_FLAG_1 = "1";
}
